#ifndef __M_LIST_STRUCT_H__
#define __M_LIST_STRUCT_H__

/*structure contains id and mac addresse of comunicating */

struct m_list{
  struct m_list                               *n_e;
  u_int8_t             ether_dhost[ETHER_ADDR_LEN];
  u_int8_t             ether_shost[ETHER_ADDR_LEN];
  int                                           id;  
};

#if 0
struct frame_info{
  int fr_id;
}

struct frame_info*
s_frame_info ( u_int8_t *mac1,
				u_int8_t *mac2);

int
ins_frame_info (struct ether_header  *eth_fr);
#endif

struct m_list*
s_m_list_addr ( u_int8_t *mac1,
				u_int8_t *mac2);
struct m_list*
ins_m (struct ether_header  *eth_fr);

struct m_list*
s_m_list_id (int s_id);

#endif
